<%--
  Created by IntelliJ IDEA.
  User: kezs
  Date: 2017/10/12
  Time: 15:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>文章管理</title>

    <link rel="stylesheet" type="text/css" href="../static/admin/Css/identify.css" />
    <link rel="stylesheet" type="text/css" href="../static/admin/Css/layout.css" />

    <link rel="stylesheet" type="text/css" href="../static/admin/Css/style.css" />
    <link rel="stylesheet" type="text/css" href="../static/admin/Css/control_index.css" />
    <script type="text/javascript" src="../static/admin/Js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="../static/admin/Js/layer.js"></script>
    <script type="text/javascript" src="../static/admin/Js/haidao.offcial.general.js"></script>
    <script type="text/javascript" src="../static/admin/Js/select.js"></script>
    <script type="text/javascript" src="../static/admin/Js/haidao.validate.js"></script>


    <style type="text/css">
        .addArticle {
            width: 60%
        }

        .addArticle td {
            border: 1px solid #ada5a5;
        }
    </style>
</head>

<body>
<%@include file="topbar.jsp" %>
<div class="view-body">
    <%@include file="slidebar.jsp" %>
    <div class="view-product background-color">
        <div class="padding-big background-color">


            <!--文章列表-->
            <div class=" ">
              <table class="addArticle">
                  <tr>
                      <td>id</td>
                      <td>title</td>
                      <td>author</td>
                      <td>remark</td>
                      <td>createTime</td>
                      <td>keyword</td>
                      <td>clickCount</td>
                      <td>reClickCount</td>
                      <td>replyCount</td>
                      <td>categoryId</td>
                      <td>status</td>
                      <td>picUrl</td>
                      <td>recommId</td>
                      <td>操作</td>
                  </tr>
                    <c:forEach items="${articleList}" var="article">
                        <tr>
                            <td>${article.id}</td>
                            <td>${article.title}</td>
                            <td>${article.author}</td>
                            <td>${article.remark}</td>
                            <td>${article.createTime}</td>
                            <td>${article.keyword}</td>
                            <td>${article.clickCount}</td>
                            <td>${article.realClickCount}</td>
                            <td>${article.replyCount}</td>
                            <td>${article.categoryId}</td>
                            <td>${article.status}</td>
                            <td>${article.picUrl}</td>
                            <td>${article.recommId}</td>
                            <td><a href="/backend/article/delete/${article.id}">${article.recommId}</a></td>
                        </tr>
                    </c:forEach>

              </table>

            </div>
        </div>
    </div>
</div>

</body>

</html>
